﻿<%@ Page PathInChannel="user/logout{Ext}" RunAt="Execute" %>
<%
Manager.Logout();
if (String.IsNullOrEmpty(Request.QueryString["FromJs"]))
{
	/*
	if (Request.UrlReferrer != null)
		Response.Redirect(Request.UrlReferrer.ToString());
	else
		Response.Redirect("user/index.aspx");
	*/
	Response.Redirect(Request.RawUrl.Replace("logout", "index"));
}
%>